<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="margin: 0px auto;width: 1200px;height: 1200px;border: 1px soild red;">
        <div style="display: flex;align-items: center;margin: 0px;">
            <h3>G论坛后台管理
            </h3>
            <div style="margin: 0px 15px;">欢迎您：ypz</div>
        </div>
        <div class="top">
            <div class="top1"><a href="/ypz_forum_admin/deal/mesdeal">帖子管理</a></div>
            <div class="top1"><a href="{:url('deal/userdeal')}">用户管理</a></div>
            <div class="top1"><a href="{:url('deal/secdeal')}">版块管理</a></div>
            <div class="top1"><a>回收站管理</a></div>
            <div class="top1"><a>广告管理</a></div>
            <div class="top1"><a>轮播图管理</a></div>
            <div class="top1"><a href="{:url('admin/apa')}">修改密码</a></div>
            <div class="top1"><a href="{:url('admin/alogout')}">注销</a></div>
            <div class="top1"><a>论坛前台</a></div>
        </div>
        <div class="center">
            <div class="nowban">
                <div style="display: flex;">
                    <div style="font-weight: 600;margin-right: 25px;padding-top: 5px;">板块管理</div>
                    <div style="font-weight: 600;background-color: darkseagreen;color: white;padding-top: 5px;margin-bottom: 7px;"><a href="{:url('deal/secadd')}" style="text-decoration: none;">添加新版块</a></div>
                </div>
                <div>
                    <input type="text">
                    <button style="background-color: lightskyblue;">搜索</button>
                </div>
            </div>
            <table border="1px" style="text-align: center;width: 1200px;height: 100px;margin: 13px 0px;">
                <tr>
                    <td style="font-weight: 600;">sid</td>
                    <td style="font-weight: 600;">版块名称</td>
                    <td style="font-weight: 600;">板块图标</td>
                    <td style="font-weight: 600;">备注</td>
                    <td style="font-weight: 600;">操作</td>
                </tr>
                {volist name ='sec' id='secRow'}
                <tr>
                    <td>{$secRow.id}</td>
                    <td>{$secRow.name}</td>
                    <td>暂无</td>
                    <td>暂无</td>
                    <td>
                        <a href="{:url('deal/secinio',['sid' => $secRow.id])}">修改</a> |
                        <a href="{:url('deal/secdel',['sid' => $secRow.id])}">直接删除</a> |
                        <a href="">回收站</a>
                    </td>
                </tr>
                {/volist}
            </table>
        </div>

    </div>
</body>
</html>
<style>
    .top{
        display: flex;
        background-color: rgb(5, 64, 115);
    }
    .top1 {
        height: 40px;
        width: 100px;
        text-align: center;
        padding-top: 15px;
        color: aliceblue;
        /* border: 1px solid red; */
    }
    .top1 a{
        color: aliceblue;
        text-decoration: none;
    }
    .center table tr{
        width: 100px;
    }
    .center table tr td{
        height: 30px;
    }
    .nowban{
        display: flex;
        justify-content: space-between;
        border: 1px solid rgb(45, 129, 219);
        height: 35px;
        margin-top: 5px;
        padding-top: 5px;
    }
    table tr td a{
        text-decoration: none;
    }
</style>
